#ifndef __TKSPRO_H
#define __TKSPRO_H

// This is a part of the ToolkitsPro Library
// Copyright (C) 1998-2022 ToolkitsPro
// All rights reserved.
//
// This source code can be used, distributed or modified
// only under terms and conditions
// of the accompanying license agreement.

#ifndef __AFXCMN_H__
#include <afxcmn.h>			// MFC support for Windows Common Controls
#endif

#ifndef __AFXTEMPL_H__
#include <afxtempl.h>
#endif

#if defined _AFXDLL && !defined _TKSPRO_STATIC_
#ifdef _TKSPRO_
#define TKSPRODLLEXPORT  _declspec(dllexport)
#else
#define TKSPRODLLEXPORT  _declspec(dllimport)
#endif
#else
#define TKSPRODLLEXPORT
#endif

TKSPRODLLEXPORT void TKSProSetResourceHandle(HINSTANCE hinstResDLL);

TKSPRODLLEXPORT HINSTANCE TKSProGetResourceHandle();

TKSPRODLLEXPORT HINSTANCE TKSProGetInstanceHandle();

#include "ToolkitsProConfig.h"

#ifdef _INC_WINDOWSX
#ifdef SelectFont
#undef SelectFont
#endif
#endif

#ifndef TKSP_TRUE
#define TKSP_TRUE		((BOOL)1)
#endif

#ifndef TKSP_FALSE
#define TKSP_FALSE		((BOOL)0)
#endif

#ifndef TKSP_DEFAULT
#define TKSP_DEFAULT	((BOOL)2)
#endif

#endif // __TKSPRO_H
